<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:comp="http://java.sun.com/jsf/composite"
	xmlns:parts="http://zephyr.parts">
	<ice:form id="panels">
		<ice:panelTabSet id="icePnlTbSet" var="tab" value="#{tabs.tabs}"
			tabPlacement="top" selectedIndex="#{tabs.tabIndex}"
			summary="#{msgs['page.panelTabSet.dynamic.tabSetSummary']}"
			title="#{msgs['page.panelTabSet.dynamic.tabSetTitle']}">
			<ice:panelTab title="#{tab.label}">
				<f:facet name="label">
					<ice:panelGrid columns="2">
						<ice:panelGroup style="width: 100px; white-space: normal">
							<ice:outputText value="#{tab.label}"/>
						</ice:panelGroup>
						<ice:commandButton
							image="/xmlhttp/css/#{styleBean.currentStyle}/css-images/cal_off.gif"
							actionListener="#{tab.closeTab}" />
					</ice:panelGrid>
				</f:facet>
				<ice:panelGroup style="width: 500px; height: 600px">
					<parts:controlPanel panel="#{tab.panel}" pushLogger="#{tab.pushLogger}"/>
				</ice:panelGroup>
			</ice:panelTab>
		</ice:panelTabSet>
	</ice:form>
</ui:composition>
